\hypertarget{classlogin}{\section{login Class Reference}
\label{classlogin}\index{login@{login}}
}
Inheritance diagram for login\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classlogin}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classlogin_a095c5d389db211932136b53f25f39685}{\-\_\-\-\_\-construct} ()
\item 
\hyperlink{classlogin_a6083b365f5ea600dd590280b73cf3f08}{login\-User} ()
\item 
\hyperlink{classlogin_a082405d89acd6835c3a7c7a08a7adbab}{logout} ()
\item 
\hyperlink{classlogin_acc294a6cc8e69743746820e3d15e3f78}{register} ()
\item 
\hyperlink{classlogin_ac3787d2c0f1f4339ab3362f542ee98f4}{register\-Post} ()
\item 
\hyperlink{classlogin_abe592bd0418c0e155614e5a53a9b7fb1}{delete\-Account} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This controler handles the login, logout, register and delete user \begin{DoxyAuthor}{Author}
Controller\-Team 
\end{DoxyAuthor}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{classlogin_a095c5d389db211932136b53f25f39685}{\index{login@{login}!\-\_\-\-\_\-construct@{\-\_\-\-\_\-construct}}
\index{\-\_\-\-\_\-construct@{\-\_\-\-\_\-construct}!login@{login}}
\subsubsection[{\-\_\-\-\_\-construct}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-\_\-\-\_\-construct} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlogin_a095c5d389db211932136b53f25f39685}
Constructor 

Reimplemented from \hyperlink{class_c_i___controller_a095c5d389db211932136b53f25f39685}{C\-I\-\_\-\-Controller}.



\subsection{Member Function Documentation}
\hypertarget{classlogin_abe592bd0418c0e155614e5a53a9b7fb1}{\index{login@{login}!delete\-Account@{delete\-Account}}
\index{delete\-Account@{delete\-Account}!login@{login}}
\subsubsection[{delete\-Account}]{\setlength{\rightskip}{0pt plus 5cm}{\bf delete\-Account} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlogin_abe592bd0418c0e155614e5a53a9b7fb1}
delete the current user from the database, if he is logged in. \hypertarget{classlogin_a6083b365f5ea600dd590280b73cf3f08}{\index{login@{login}!login\-User@{login\-User}}
\index{login\-User@{login\-User}!login@{login}}
\subsubsection[{login\-User}]{\setlength{\rightskip}{0pt plus 5cm}{\bf login\-User} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlogin_a6083b365f5ea600dd590280b73cf3f08}
checks if the current user is alread logged in, if not it will try to log him in.\par
 If no valid login data are provided, the user will be redirected to the main page \hypertarget{classlogin_a082405d89acd6835c3a7c7a08a7adbab}{\index{login@{login}!logout@{logout}}
\index{logout@{logout}!login@{login}}
\subsubsection[{logout}]{\setlength{\rightskip}{0pt plus 5cm}{\bf logout} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlogin_a082405d89acd6835c3a7c7a08a7adbab}
logout the current user \hypertarget{classlogin_acc294a6cc8e69743746820e3d15e3f78}{\index{login@{login}!register@{register}}
\index{register@{register}!login@{login}}
\subsubsection[{register}]{\setlength{\rightskip}{0pt plus 5cm}{\bf register} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlogin_acc294a6cc8e69743746820e3d15e3f78}
displays the view on which the user can register himself (if he is not already logged in \hypertarget{classlogin_ac3787d2c0f1f4339ab3362f542ee98f4}{\index{login@{login}!register\-Post@{register\-Post}}
\index{register\-Post@{register\-Post}!login@{login}}
\subsubsection[{register\-Post}]{\setlength{\rightskip}{0pt plus 5cm}{\bf register\-Post} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlogin_ac3787d2c0f1f4339ab3362f542ee98f4}
register a new user in the database. after this, the user can login. 

The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
/\-Applications/\-M\-A\-M\-P/htdocs/\-Workspace/blp2.\-0/application/controllers/\hyperlink{controllers_2login_8php}{login.\-php}\end{DoxyCompactItemize}
